#!/bin/sh

echo start install fs_oms ...

if [ -d fs_oms_pkg ]; then
    rm -rf fs_oms_pkg
fi

mkdir fs_oms_pkg

mv -f fs_oms conf static views fs_oms_pkg

mv fs_oms_pkg fs_oms

cp fs_oms.service /usr/lib/systemd/system/

systemctl enable fs_oms

systemctl start fs_oms

echo install fs_oms complete


